package com.zscat.mallplus.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 发货单详情表
 * </p>
 *
 * @author zscat
 * @since 2019-09-16
 */
@Data
@TableName("bill_delivery_items")
public class BillDeliveryItems implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发货单号 关联bill_delivery.id
     */
    @TableField("delivery_id")
    private String deliveryId;

    /**
     * 订单明细ID 关联order_items.id
     */
    @TableField("order_items_id")
    private Long orderItemsId;

    /**
     * 发货数量
     */
    private Integer nums;

}
